.container {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  max-width: 1600px;
  // overflow: hidden;
  // background-color:#dc1919;
}
  .control{
    flex:2;
    display: flex;    
    margin-top: 40px;
    flex-direction: column;
    // background-color: #836e6e;
    // max-height: 550px;    
  }
  
  
  .control-header {
    display: flex;
    flex-direction: row;
    // background-color: #99caff;
    // margin-bottom: 50px;
    .speed{
      margin-top: 50px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      // background-color: #4f5255cc;
      .speed-button {
        margin: 20px 0 20px 0; 
        width: 80px;
        height: 40px;
        font-size: 20px;
        background-color: #4f5255cc;
        border-radius: 10px;
        color: white;
      }
      .speed_div{
        margin: 10px 0 5px 0;
        color:#177DDC;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }
    .circle-control {
      position: relative;
      width: 300px;
      height: 300px;
      margin: 100px 100px auto 100px;
      border-radius: 50%;
      background-color:#3c3b3b;
      // border: 2px solid #2d343c6f;
      // background-color: #f0f8ff;
    }

      /* 通用按钮样式 */
      .button {
        position: absolute;
        width: 100px;
        height: 100px;
        background-color: #4f5255cc;
        border-radius: 10px;
        font-size: 60px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        border: 2px solid #2d343c6f;
        // transition: background-color 0.2s;

        &:hover {
          background-color: #cce4ff;
        }

        &:active {
          background-color: #99caff;
        }
      }

      .active{
        background-color: #99caff !important;
        color: #fff !important;
        box-shadow: 0 0 10px rgba(23, 125, 220, 0.6);
        transform: scale(1.05);
        transition: all 0.2s ease;
      }

      /* 方向按钮定位 */
      .up {
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .down {
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
      }

      .left {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
      }

      .right {
        top: 50%;
        right: 0;
        transform: translate(50%, -50%);
      }

      .leftshift {
        height: 70px;
        top: -50px;
        left: -50px;
      }

      .rightshift {
        height: 70px;
        top: -50px;
        right: -50px;
      }

      
      .text-button {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120px;
        height: 120px;
        background-color: #54595fcc;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #2d343c6f;
        // cursor: pointer;
        // transition: background-color 0.2s;
      } 
      /* 其他按钮 */
      .button-container{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        // margin-top: 50px;
        // position: absolute;
        // bottom: 0px;
        // background-color: #d9d3d3;
      }
        .buttons{
          width:100px;
          height: 50px;
          font-size: 20px;
          margin: 5px;
          background-color:#43474C;
        }
        .active1{
          background-color: #99caff !important;
          color: #fff !important;
          box-shadow: 0 0 10px rgba(23, 125, 220, 0.6);
          transform: scale(1.05);
          transition: all 0.2s ease;
        }

  .video-control{
    position: relative;
    display: flex;
    flex-direction: row;
    
    .flatten{
      position : absolute;
      bottom:-150px;
      background-color:"#141414"
    }
  }
  
  .video-container {
    flex:5;
    margin: 10px 50px auto 5px;
    max-width: 1000px; // ✅ 限制最大宽度
    width:800px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    // background-color: #f0f8ff;
    display: block;
    // border: 2px solid #e8eaebb6;
    // background-color: #177DDC;
  
    .speak{
      margin: 15px 20px 15px 0;
      margin-right: 20px;
      font-size: 14px;
      width: 60px;
      height: 30px;
    }

    iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;   // ✅ 保持画面填满但可能裁剪
      // border-radius: 8px;
      
    }
  }

  .device-info{
    position:relative;
    top:170px;
    width: 100%;
    height: 100%;
    // background-color: #0c6ce0;

  }
      